/**
 * Created with Intellij JDEA
 * Description:
 * User:
 * Date:2022-03-12
 * Time:9:41
 */
public class TestDemo {

    public static void main(String[] args) {

        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(1);
        myArrayList.add(2);
        myArrayList.add(3);
        myArrayList.add(4);
        myArrayList.myToString();
        System.out.println("=============");
        myArrayList.add(2,5);
        myArrayList.myToString();
    }
}
